package predictors;

import java.util.Date;

import com.google.gson.Gson;

import jsonobj.JSonObj;

public class Tuple implements JSonObj {
	String jobname;
	String cluster;
	public Date time;
	public double probability;
	int mean;
	double std_dev;
	double coeff;

	public Tuple(){}
	
	public Tuple(String c, Date t, double p, int m, double s, double co) {
		this.cluster = c;
		this.time = t;
		this.probability = p;
		this.mean = m;
		this.std_dev = s;
		this.coeff = co;
	}

	public String toString() {
		return RES_INFO + "|" + new Gson().toJson(this);
	}
}
